package com.ruoyi.approval.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 申请与车辆关联对象 a_scheduling_application_vehicle
 *
 * @author ruoyi
 * @date 2025-04-02
 */
public class ASchedulingApplicationVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 调度申请ID */
    @Excel(name = "调度申请ID")
    private String schedulingApplicationId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;

    /** 申请1 执行2 */
    @Excel(name = "申请1 执行2")
    private Long type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setSchedulingApplicationId(String schedulingApplicationId)
    {
        this.schedulingApplicationId = schedulingApplicationId;
    }

    public String getSchedulingApplicationId()
    {
        return schedulingApplicationId;
    }

    public void setVehicleId(Long vehicleId)
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId()
    {
        return vehicleId;
    }

    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schedulingApplicationId", getSchedulingApplicationId())
            .append("vehicleId", getVehicleId())
            .append("type", getType())
            .toString();
    }
}
